package com.xhwl.logistics.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.logistics.bo.input.QueryVehiclePayRecordBO;
import com.xhwl.logistics.bo.input.QueryVehiclePayRecordForCountBO;
import com.xhwl.logistics.bo.input.QueryVehiclePayRecordStatisticsBO;
import com.xhwl.logistics.entity.VehiclePayRecord;
import com.xhwl.logistics.po.VehicleCardPayRecordStatisticsPO;
import com.xhwl.logistics.po.VehiclePayRecordPO;
import com.xhwl.logistics.po.VehiclePayRecordStatisticsDatePO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IVehiclePayRecordMapper extends BaseMapper<VehiclePayRecord> {

    IPage<VehiclePayRecordPO> pagePayRecord(Page<?> page, QueryVehiclePayRecordBO queryVehiclePayRecordBO);

    List<VehiclePayRecordStatisticsDatePO> payRecordStatistics(QueryVehiclePayRecordStatisticsBO queryVehiclePayRecordStatisticsBO);

    Integer payRecordForCount(QueryVehiclePayRecordForCountBO queryVehiclePayRecordForCountBO);

    List<VehicleCardPayRecordStatisticsPO> cardPayRecordForCount(QueryVehiclePayRecordForCountBO queryVehiclePayRecordForCountBO);

}
